package cn.tedu.oa_system.mapper;

import cn.tedu.oa_system.pojo.TypeList;
import cn.tedu.oa_system.pojo.in.FindLikeKeyIn;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
* @author 杜宽宽
* @description 针对表【type_list】的数据库操作Mapper
* @createDate 2022-11-22 14:57:58
* @Entity cn/tedu/oa_system.domain.TypeList
*/
@Repository
public interface TypeListMapper extends BaseMapper<TypeList> {

    int insertType(@Param("typeList") TypeList typeList);


    List<TypeList> listAndLike(FindLikeKeyIn findLikeKeyIn);
}
